<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert_Title_Here</title>
		<link rel="Shortcut Icon" href="Insert_Favicon_Here" />
		<link rel="stylesheet" href="public/bootstrap/css/bootstrap.min.css" />
		<script src="public/js/jquery-3.2.1.min.js"></script>
		<script src="public/bootstrap/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="public/css/style.css" />
	</head>
	<style>
		*{
			font-family: "微软雅黑";
			margin: 0px;
			padding: 0px;
		}
		.mycontainer{
			margin-top: 20px;
			padding-right: 15px;
			padding-left: 15px;
			margin-right: 80px;
			margin-left: 80px;
			height: auto;
		}
		.col-md-3{
			font-size: 17px;
			text-indent: 2em;
			line-height: 35px;
		}
		
		.pp{
			font-size: 25px;
			margin-left: 0px;
			text-indent: 2em;
			line-height: 35px;
		}
		.row{
			margin-bottom: 10px;
		}
		th,td{
			width: 300px;
			font-size: 20px;
			text-align: center;
			height: 40px;
		}
		table{
			margin-left: 100px;
		}
		.glyphicon-download-alt, .glyphicon-file{
			font-size: 15px;
		}
	</style>
	<body>
		<!--顶部效果-->
		<%@ include file="/Header.jsp" %>
		
		<!--主体部分-->
		<c:forEach items="${requestScope.allFolders}" var="folder">
			<div class="mycontainer">
				<div>
					<div class="container" style="margin: 0px;">
						<table border="1px" cellpadding="10px" cellspacing="10px">
							<tr>
								<th>数据集名称</th>
								<th>查看预测结果</th>
								<th>下载预测结果</th>
							</tr>
							<tr>
								<td>${folder.folderName}</td>
								<td>
									<a href="${pageContext.request.contextPath}/showPredict?&folderName=${folder.folderName}&fileName=${folder.resultFile}">
										<div class="glyphicon glyphicon-file"></div>
									</a>
								</td>
								<td>
								
									<a href="${pageContext.request.contextPath}/downLoad?folderName=${folder.folderName}&fileName=${folder.resultFile}">
										<div class="glyphicon glyphicon-download-alt"></div>
									</a>
							
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</c:forEach>
		
				
		<!--底部效果-->
		<%@ include file="/Footer.jsp" %>
		
	</body>
</html>